projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
51fdcca
)
; * test/lisp/emacs-lisp/derived-tests.el: Silence byte-compiler.
author
Stefan Kangas
<stefan@marxist.se>
Tue, 25 Jan 2022 23:44:00 +0000
(
00:44
+0100)
committer
Stefan Kangas
<stefan@marxist.se>
Tue, 25 Jan 2022 23:44:00 +0000
(
00:44
+0100)
test/lisp/emacs-lisp/derived-tests.el
patch
|
blob
|
history
diff --git
a/test/lisp/emacs-lisp/derived-tests.el
b/test/lisp/emacs-lisp/derived-tests.el
index 0589819ccc154dd02005be907b911b696dfcf7e8..547b16843d42c854a38790cef852e33b83cef9ae 100644
(file)
--- a/
test/lisp/emacs-lisp/derived-tests.el
+++ b/
test/lisp/emacs-lisp/derived-tests.el
@@
-40,6
+40,9
@@
(derived-tests--child-mode)
(should (equal (buffer-string) "PB CB MH AFP=S AFC=S ")))))
+(declare-function mode-a "derived-tests")
+(declare-function mode-b "derived-tests")
+(declare-function mode-c "derived-tests")
(ert-deftest test-add-font-lock ()
(define-derived-mode mode-a fundamental-mode "mode-a"
(font-lock-add-keywords nil `(("a" 0 'font-lock-keyword-face))))